#ifndef TRAYICON_H
#define TRAYICON_H

#include <QObject>
#include <QtGui/QMenu>
#include <QtGui/QSystemTrayIcon>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QMessageBox>

class TrayIcon : public QObject
{
    Q_OBJECT
public:
    TrayIcon();
private:
    QSystemTrayIcon *trayIcon;
    QMenu *trayMenu;

    QAction *optionsAction;
    QAction *aboutAction;
    QAction *quitAction;
private slots:
    void iconActivated(QSystemTrayIcon::ActivationReason reason);
    void doShowOptions();
    void doShowAbout();
    void doQuit();
signals:
    void showOptions();
    void iconClicked();
    void quit();

};

#endif // TRAYICON_H
